/*
 * @Author: pandaman
 * @Date: 2024-02-22 09:42:20
 * @LastEditors: 姚潘涛
 * @LastEditTime: 2024-10-10 16:09:37
 * @FilePath:
 * /xict_ws/src/xcmg-intelligent-cockpit-three/src/xict_cpp/include/xict_driver/utils/data_definition.h
 * @Description:
 *
 * Copyright (c) 2024 by pandaman, All Rights Reserved.
 */
#ifndef XICT_DRIVER_UTILS_DATA_DEFINITION_H
#define XICT_DRIVER_UTILS_DATA_DEFINITION_H

#include "xict_driver/utils/utils_common.h"
// #include <Eigen/Eigen>
#include <iostream>
#include <opencv2/opencv.hpp>

namespace xict_driver {
    namespace utils {
        /**
         * @brief 驱动参数
         *
         */
        struct DriverConfig {
            /// @brief 驱动类型
            DriverType type;
            /// @brief 任务名
            std::string name;
            /// @brief 任务周期
            double period;
            /// @brief 使能标志位
            bool enable = false;
        };

        struct CameraDriverConfig : public DriverConfig {
            /// @brief 设备
            std::string device;
            int port;
            std::string topic;
            bool rtsp_enable     = false;
            std::string rtsp_url = "";
        };
    }   // namespace utils
}   // namespace xict_driver

#endif